package corej.prj.commandlinebank.model;

import corej.prj.commandlinebank.exception.BalanceNotEnoughException;

public class CreditAccount extends Account {
    private double ceiling;

    public double getCeiling() {
        return ceiling;
    }

    public void setCeiling(double ceiling) {
        this.ceiling = ceiling;
    }

    public CreditAccount() {
        super();
    }

    public CreditAccount(String password, String name, String personId,
                         String email) {
        super(password, name, personId, email);
    }

    public void withdraw(double money) throws BalanceNotEnoughException {

    }

}
